Skip to content

Conversation

parth-paradkar
Copy link
Contributor

Doctests in the following files to be added: pigoen_sort.py, pancake_sort.py

For doctests run following command:
python -m doctest -v pancake_sort.py
or
python3 -m doctest -v pancake_sort.py
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please reverse the order to encourage users to try python3 first.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, sure.

Copy link
Member

@cclauss cclauss left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome work here! Thanks for adding tests.

@cclauss cclauss merged commit 390feb0 into TheAlgorithms:master Oct 3, 2019
@parth-paradkar parth-paradkar deleted the sort-doctest branch October 3, 2019 08:25
stokhos pushed a commit to stokhos/Python that referenced this pull request Jan 3, 2021
* doctests and intro docstring added

* doctests, docstrings and check for empty collection added

* Intro docstring added

* python versions reversed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants